﻿import request from '@/utils/request'

export function getListPaged(params) {
  return request({
    baseURL: process.env.VUE_APP_AUTH,
    url: '/api/authserver/audit-logging',
    method: 'get',
    params
  })
}

export function get(id) {
  return request({
    baseURL: process.env.VUE_APP_AUTH,
    url: `/api/authserver/audit-logging/${id}`,
    method: 'get'
  })
}

export function remove(id) {
  return request({
    baseURL: process.env.VUE_APP_AUTH,
    url: `/api/authserver/audit-logging?id=${id}`,
    method: 'delete'
  })
}
